import org.junit.Test;

public class test01 {
    @Test
    public void test01(){
        String name="袁浩伟.png";
        boolean flag = name.endsWith(".jpg");
        System.out.println(flag);
    }
}
